package com.leyou.user;

import com.leyou.user.pojo.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author shkstart
 * @create 2020-05-10 15:52
 */

public interface UserApi {

    //登录
    @PostMapping("query")
    public User queryUser(@RequestParam("username")String username, @RequestParam("password")String password);
}
